﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
        }
    }
    class MsSqlConnection : DatabaseConnection()
    {
        abstract public void CloseConnection()
        {
            Console.WriteLine("Connection closed");
            Console.ReadKey();
        }
        abstract public void OpenConnection()
        {
            Console.WriteLine("Connection established");
            Console.ReadKey();
        }

    }
    class MySqlConnection : DatabaseConnection
    {
        abstract public void CloseConnection()
        {
            Console.WriteLine("Connection closed");
            Console.ReadKey();
        }
        abstract public void OpenConnection()
        {
            Console.WriteLine("Connection established");
            Console.ReadKey();
        }

    }
}
